package com.team.ai.mapper;

import com.team.ai.entity.Comments;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface CommentsMapper {
    int insert(int userId, int communityId, String comments, String uName, String pic, Date createtime);
    List<Comments>selectList();
    List<Comments>selectLists(int communityId);
}
